﻿#include "eVector3.h"

class GLCamera
{

public:
	GLCamera();
	GLCamera(const Vector3d& pos, const Vector3d& target, const Vector3d& up);
	void  setModelViewMatrix();
	void setShape(float viewAngle, float aspect, float Near, float Far);
	void slide(float du, float dv, float dn);
	void roll(float angle);
	void yaw(float angle);
	void pitch(float angle);
	float getDist();

private:
	Vector3d m_pos;
	Vector3d m_target;
	Vector3d m_up;

	Vector3d u, v, n;
};
